import java.util.Scanner;
/**
 * processing example: multiply input by 7 and display output
 * 
 * @author Amrita Mukherjee
 * @version 02/10/2012
 */
public class ProcessExample1
{
    public static void main(String[] args)
    {
        //create a scanner object calles keyboard
        Scanner keyboard = new Scanner(System.in);
        
        //tell the user what this program does
        System.out.println("This program multiplies by 7. ");
        
        //prompt the user for a number
        System.out.print("Enter a number (ex : 5) : ");
        
        //Now input the number
        int num = keyboard.nextInt();
        
        //Process: Multiply by 7
        int result = num * 7;
        
        //Now output the resule
        System.out.println("The result is: " + result);
        
    }
}
/*
 
 My test session:
 This program multiplies by 7. 
Enter a number (ex : 5) : 8
The result is: 56

 */
